package com.facebook.react.uimanager;

import com.facebook.react.bridge.Dynamic;

/**
 * Created by tzj on 2018/5/14.
 */

public class ListViewShadowNode extends LayoutShadowNode{

    @Override
    public boolean dispatchUpdates(float absoluteX, float absoluteY, UIViewOperationQueue uiViewOperationQueue, NativeViewHierarchyOptimizer nativeViewHierarchyOptimizer) {
        //TODO getLayoutHeight() 这里的高度有问题导致超出屏幕，1920的屏返回的却是2022
        return super.dispatchUpdates(absoluteX, absoluteY, uiViewOperationQueue, nativeViewHierarchyOptimizer);
    }

    @Override
    public void onCollectExtraUpdates(UIViewOperationQueue uiViewOperationQueue) {
        super.onCollectExtraUpdates(uiViewOperationQueue);
    }

    @Override
    public void setHeight(Dynamic height) {
        super.setHeight(height);
    }
}
